#include "server.hpp"
#include "hot.hpp"

cloud::dataManager* data;

void hot(){
    cloud::hotManager hm;
    hm.start();
}

void server(){
    cloud::server s;
    s.start();
}

int main(){
    data = new cloud::dataManager();
    std::thread hotManager(hot);
    std::thread serverManager(server);

    hotManager.join();
    serverManager.join();
    
    return 0;
}